<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/html">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<a th:href="@{http://www.baidu.com}">跳转百度</a></br>
<a th:href="@{test4}">跳转无参接口</a></br>
<a th:href="@{'test5?name='+'蔡徐坤'}">跳转有参接口</a></br>
<a th:href="@{test5(name=李易峰)}">跳转有参接口(第二种传参方式)</a></br>
</body>
</html>